//
//  DetailInfoTableViewCell.m
//  OneCreditTreasure
//
//  Created by iOS Tedu on 16/8/26.
//
//

#import "DetailInfoTableViewCell.h"

@implementation DetailInfoTableViewCell
#pragma mark - 生命周期 life cycle
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self infoLB];
        self.textLabel.font = defaultFont;
        self.selectionStyle = UITableViewCellSelectionStyleNone;
    }
    return self;
}

#pragma mark - 懒加载 lazy loading
- (UILabel *)infoLB {
    if (_infoLB == nil) {
        _infoLB = [[UILabel alloc] init];
        _infoLB.text = @"123456";
        [self.contentView addSubview:_infoLB];
        [_infoLB mas_makeConstraints:^(MASConstraintMaker *make) {
            make.right.top.bottom.equalTo(0);
            make.width.equalTo(80);
        }];
        _infoLB.font = defaultFont;
        _infoLB.textColor = [UIColor lightGrayColor];
    }
    return _infoLB;
}

@end
